package cn.wolfcode.luowowo.ticket.service.impl;

import cn.wolfcode.luowowo.article.domain.Subject;
import cn.wolfcode.luowowo.ticket.mapper.SubjectMapper;
import cn.wolfcode.luowowo.ticket.service.ISubjectService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class SubjectServiceImpl implements ISubjectService {
    @Autowired
    private SubjectMapper subjectMapper;

    @Override
    public List<Subject> getListByDestId(Long destId) {
        return subjectMapper.selectByDestId (destId);
    }
}
